package com.baijiayun.sdk.service;

import com.baijiayun.sdk.core.Msg;
import com.baijiayun.sdk.model.*;

/**
 * @author Smile
 */
public interface VideoService{
    /**
     * 获取视频/音频上传地址
     * @param request
     * @return
     */
    Msg<GetUploadUrlResponse> getUploadUrl(GetUploadUrlRequest request);

    /**
     * 获取断点续传地址
     * @param request
     * @return
     */
    Msg<GetResumeUploadUrlResponse> getResumeUploadUrl(GetResumeUploadUrlRequest request);

    /**
     * 获取视频状态
     * @param request
     * @return
     */
    Msg<GetVideoStatusResponse> getStatus(GetVideoStatusRequest request);

    /**
     * 获取视频信息
     * @param request
     * @return
     */
    Msg<GetVideoInfoResponse> getInfo(GetVideoInfoRequest request);

    /**
     * 获取视频截图
     * @param request
     * @return
     */
    Msg<GetVideoImageResponse> getImage(GetVideoImageRequest request);

    /**
     * 清除置顶清晰度的转码文件
     * @param request
     * @return
     */
    Msg<GetCategoryListResponse> getCategoryList(GetCategoryListRequest request);
}
